package testJdk.base.juc_test.multi_threading.runnable;

/**
 * @ClassName : learn_jdk.multi_threading.runnable.TestMul
 * @Description : 类描述
 * Created by cyd on 2021-03-30 22:32:55
 */
public class Test01 {
    public static void main(String[] args) {
        Thread thread = new Thread(new MyTask());
        thread.start();
    }
}

class MyTask implements Runnable {

    @Override
    public void run() {
        System.out.println("hello world");
    }
}
